package Test_Second_Inner;

class OuterClass {
    public OuterClass(String name,int age)
    {
        this.name = name;
        this.age = age;
    }
    public static class Inner
    {
        public void print()
        {
            System.out.println(OuterClass.university);
            System.out.println(school);
        }
        private String school  = "jxau";
    }
    private static String university = "jxau";
    private String name;
    private int age;
}

public class InnerClassTest {
    public static void main(String[] args) {
        OuterClass outer = new OuterClass("Lzc",20);
        OuterClass.Inner inner = new OuterClass.Inner();
        inner.print();
    }
}
